﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BLL; 

public partial class MyLy_Mylyindex : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        BLL.UserBean bean = new UserBean();
        if (Session["LoginUser"] == null)
        {
            Response.Redirect(WebUtility.getWebRootPath() + "/Login/Login.aspx");
        }
        else 
        {
            string mobile = Session["LoginUser"].ToString();
            string points = bean.GetRegUserAccountPoints(mobile);
            this.Lbl_User.Text = mobile;
            this.Lbl_AccountPoints.Text = points;
        }
    }
}
